package com.dissertation.service;

import com.dissertation.pojo.Favorite;
import com.dissertation.pojo.Message;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface ICollectionService {
    Message addCollection(Map<String,Object> params);

    Message removeCollection(Map<String,Object> params);

    Message addColumn(String column);

    List<String> getColumns();

    List<Favorite> getFavorites(String column);

    Message removeColumn(String column);

    List<Favorite> searchBykeyword(String keyword);

    Integer importFavorites(String[] ids, String fileName, HttpServletResponse response);

}
